import Base from 'models/base';

import moment from 'moment';

export default class DaySignData extends Base {
  constructor(data, time) {
    super();

    if (time === undefined) {
      time = moment().valueOf();
    } else {
      time = moment(time).valueOf();
    }
    this.dayMonth = moment(time).format('YYYY-MM');
    this.timeRes = time;

    this.score = 12;
    this.count = 5;
  }
}
